﻿<UserControl x:Class="EasyInvoice.WPF.Pages.Introduction"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             xmlns:vm ="clr-namespace:EasyInvoice.WPF.ViewModel"
             xmlns:mui="http://firstfloorsoftware.com/ModernUI">
    <Grid Style="{StaticResource ContentRoot}">
        <Grid.DataContext>
            <vm:IntroductionViewModel/>
        </Grid.DataContext>
        <StackPanel>
            <TextBlock  Text="Welcome to Easy Invoice" Style="{StaticResource Heading1}" Margin="0,0,0,8"/>
            <TextBlock Text="Your easiest way to create invoices." Margin="0,0,0,8"/>
            <mui:BBCodeBlock BBCode="{Binding MissingMonths, StringFormat='Your last invoice was [b]{0}[/b] months ago.'}" Margin="0,0,0,8"/>
            <mui:BBCodeBlock BBCode="If you want to create invoices for missing months, [url=/Pages/CreateInvoices.xaml]click here[/url] "  Margin="0,0,0,8"/>
            <TextBlock Text="{Binding InvoicingDay, StringFormat='Invoicing day is {0} of every month'}" Style="{StaticResource Title}" Margin="0,0,0,8"/>
        </StackPanel>
           
        
    </Grid>
</UserControl>
